package com.koron.ticket.work.securityarrangement.mapper;

import com.koron.ticket.work.securityarrangement.bean.SecurityArrangement;
import com.koron.ticket.work.securityarrangement.bean.SecurityArrangementQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SecurityArrangementMapper {

    List<SecurityArrangement> getList(SecurityArrangementQuery securityArrangementQuery);

    void insert(SecurityArrangement securityArrangement);

    void batchInsert(@Param("list") List<SecurityArrangement> list);

    void logicDeleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    List<SecurityArrangement> queryByWorkTicketId(@Param("workTicketId")String workTicketId);

}
